package com.hzdl.apple.service.back;

import java.sql.Connection;

import com.hzdl.apple.bean.Admin;
import com.hzdl.apple.dao.back.AdminDao;
import com.hzdl.apple.dao.imp.back.AdminDaoImp;

public class AdminService {
	private AdminDao dao;
	
	public AdminService(){
		dao = new AdminDaoImp();
	}
	
	public Admin AdminLogin(Admin admin, Connection conn) {
		return dao.getAdminByLogin(admin, conn);
	}
}
